package be.hikage.sfeir.extension;

import javax.enterprise.context.spi.Context;
import javax.enterprise.context.spi.Contextual;
import javax.enterprise.context.spi.CreationalContext;
import java.lang.annotation.Annotation;

/**
 * @author Gildas Cuisinier (hikage@hikage.be)
 *         User: hikage
 *         Date: 20/03/11
 */
public class ThreadScopeContext implements Context {



    public Class<? extends Annotation> getScope() {
        return ThreadScoped.class;
    }

    public <T> T get(Contextual<T> contextual, CreationalContext<T> creationalContext) {

        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public <T> T get(Contextual<T> contextual) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public boolean isActive() {
        return true;
    }

     static class ThreadScopeContextHolder {



     }
}
